//
//  DisCoverYouJILayout.h
//  赵彬旭
//
//  Created by lanou3g on 16/1/15.
//  Copyright © 2016年 赵彬旭. All rights reserved.
//

#import <Foundation/Foundation.h>

#import <UIKit/UIKit.h>

@protocol DisCoverYouJILayouDelegate <NSObject>

-(CGFloat)heightForItemIndexPath:(NSIndexPath *)indexPath;

@end





@interface DisCoverYouJILayout : UICollectionViewLayout

@property(nonatomic,assign)CGSize itemSize; //item大小

@property(nonatomic,assign)UIEdgeInsets  sectionInsets;//内边距

@property(nonatomic,assign)CGFloat  insertItemSpacing;//间距

@property(nonatomic,assign)NSUInteger numberOfColumn;//列数


@property(nonatomic,weak)id<DisCoverYouJILayouDelegate> delegate; // 代理提供图片高度



@end
